package cn.com.gaobb;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.scheduling.annotation.EnableScheduling;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author gaobb
 * @version 1.0
 * @ClassName ColckInApplicaiton
 * @Description 项目启动类
 * @date 2021/3/19 16:57
 */
@EnableScheduling
@SpringBootApplication
@MapperScan(basePackages = "cn.com.gaobb.mapper")
public class LogisticsApplicaiton extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(LogisticsApplicaiton.class, args);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(LogisticsApplicaiton.class);
    }
}




